package BeanUtils.T2;

public class Phone {

    private String brand;
    private String color;
    private Integer price;
    private String size;

    @Override
    public String toString() {
        return "Phone{" +
                "brand='" + brand + '\'' +
                ", color='" + color + '\'' +
                ", price=" + price +
                ", size='" + size + '\'' +
                '}';
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public Phone(String brand, String color, Integer price, String size) {
        this.brand = brand;
        this.color = color;
        this.price = price;
        this.size = size;
    }

    public Phone() {
    }
}
